package com.travel.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.travel.pojo.CarRentalCompany;
import com.travel.service.CarRentalCompanyService;
import com.travel.mapper.CarRentalCompanyMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author rjq51
* @description 针对表【car_rental_company】的数据库操作Service实现
* @createDate 2023-05-11 10:10:54
*/
@Service
public class CarRentalCompanyServiceImpl extends ServiceImpl<CarRentalCompanyMapper, CarRentalCompany>
    implements CarRentalCompanyService{

    @Resource
    CarRentalCompanyMapper carRentalCompanyMapper;

    @Override
    public CarRentalCompany selectCompany(Integer carCompanyId) {

        return carRentalCompanyMapper.selectById(carCompanyId);
    }
}




